home *** CD-ROM | disk | FTP | other *** search
/ CICA 1993 April / CICA MS Windows - April 1993.iso / unzipped / games / worm / about.c next >
C/C++ Source or Header  |  1992-09-18  |  396b  |  21 lines

  1.  
  2. #include "worm.h"
  3.  
  4. BOOL FAR PASCAL AboutDlgProc(HWND hDlg, unsigned message, WORD wParam,
  5.                              LONG lParam)
  6. {
  7. switch(message)
  8.     {
  9.     case WM_INITDIALOG:
  10.         return (TRUE);
  11.     case WM_COMMAND:
  12.         if (wParam == IDOK)
  13.             {
  14.             EndDialog(hDlg, NULL);
  15.             return (TRUE);
  16.        }
  17.         break;
  18.     }
  19. return(FALSE);
  20. }
  21.